package cn.ibizlab.todo.util.client;

import cn.ibizlab.todo.util.security.AuthenticationInfo;
import cn.ibizlab.todo.util.security.AuthenticationUser;
import cn.ibizlab.todo.util.security.AuthorizationLogin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "${ibiz.ref.service.pms-webapi:pms-webapi}",fallback = IBZPMSFallback.class)
public interface IBZPMSFeignClient
{
	/**
	 * 用户登录
	 * @param authorizationLogin 登录信息
	 * @return
	 */
	@PostMapping(value = "/v7/login")
	AuthenticationInfo login(@RequestBody AuthorizationLogin authorizationLogin);

}
